An Integration of Deductive Retrieval into Deductive Synthesis
نویسندگان
چکیده
Deductive retrieval and deductive synthesis are two conceptually closely related software development methods which apply theorem proving techniques to support the construction of correct programs. In this paper, we describe an integration of both methods which combines their complementary benefits and alleviates some of their drawbacks. The core of our integration is an algorithm which automatically extracts queries from the synthesis proof state and submits them to a specialized retrieval system. Retrieved components are then used to close open subgoals in the proof. We use a higher-order framework for synthesis in which higher-order meta-variables are used to represent program fragments still to be synthesized. Hence, the introduction of a new meta-variable is an attempt to synthesize a new fragment and so highlights a possible reuse step. This observation allows us to invoke retrieval only after a substantial change rather than at every proof step and prevents overloading the retrieval mechanism. Our integration raises the granularity level of synthesis by avoiding a substantial number of proof steps. It also provides a framework for adapting “near-miss” components in the case that an exact match cannot be retrieved.
منابع مشابه
Abductive case-based reasoning
This article will introduce abductive case-based reasoning (CBR) and attempt to show that abductive CBR and deductive CBR can be integrated in clinical process and problem solving. Then it provides a unified formalization for integration of abduction, abductive CBR, deduction and deductive CBR. This article also investigates abductive case retrieval and deductive case retrieval using similarity...
متن کاملThe WHIRL Approach to Integration: An Overview
We describe a new integration system, in which information sources are converted into a highly structured collection of small fragments of text. Database-like queries to this structured collection of text fragments are approximated using a novel logic called WHIRL, which combines inference in the style of deductive databases with ranked retrieval methods from information retrieval. WHIRL allows...
متن کاملDeductive Information Retrieval Based on Classifications
Modern fact databases contain abundant data classified through several classifications. Typically users must consult these classifications in separate manuals or files thus making their effective use difficult. Contemporary database systems do little to support deductive use of classifications. In this paper we show how deductive data management techniques can be applied to the utilization of d...
متن کاملDeductive Databases | Where to Now?
Deductive databases result from the integration of database and logic programming techniques. It combines the beneets of these two approaches, such as representational and operational uniformity, recursion, declarative querying, eecient secondary storage access, etc. However, signiicant problems remain inherent in this synthesis. There are four broad areas where problems are apparent. The rst p...
متن کاملA Deductive Database Solution to Intelligent Information Retrieval from Legacy Databases
In this paper, we will report on the experience of building a successful industrial application using the LDL++ deductive database as part of the technology transfer process to our sponsor company, Eastman Chemical Company. We will describe the nature of the problems faced by Eastman Chemical Company and show how the LDL++ deductive database technology helps to build an Intelligent Information ...
متن کامل